Part Number Hot Search : 
NVD4804N LV4904V AN0001 B1545 BD136 VNN3NV04 CX168 AS5306A
Product Description
Full Text Search
 

To Download AN1714 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  february 2008 rev 4 1/46 AN1714 application note st7538q fsk powerline transceiver demonstration kit description introduction the advantages in the implementation of a communication network using the same electrical network that supplies all the elements of the network are evident. in the presence of new wideband lans using an rf system, for example bluetooth, a narrowband communication system using the mains has considerable advantages also. it is widely accepted that in residential or industrial areas, in parallel to a wideband network for audio/video streaming and internet, having a narrowband lan is useful to carry simple information such as measurements, commands to actuators, system controls and so on. many applications can be covered by a narrowband communication system in a residential structure, outside the house or in industrial applications (see figure 1 below). figure 1. typical powerline modem applications scenario for example in houses or commercial buildings possible applications are power management, lighting control, heating or cooling system management, remote control of appliances (by internet or telephone), and control of alarm systems. considering external applications, the main areas concern communication with meters, in particular automatic measuring and remote control, prepaid supply systems, meter or in- home remote displays. another relevant industrial segment could be street lighting management. www.st.com
contents AN1714 2/46 contents 1 powerline communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1 the electrical network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1.1 impedance of powerlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.1.2 noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.1.3 typical connection losses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.1.4 standing waves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.2 st7538q fsk powerline transceiver description . . . . . . . . . . . . . . . . . . . . 9 2 demonstration board for st7538q . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.1 main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2 signal coupling interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.2.1 transmitting section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.2.2 receiving section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.2.3 voltage regulation-current protection loops . . . . . . . . . . . . . . . . . . . . . . 21 2.3 board power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 2.3.1 l6590 regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 2.3.2 st7538q power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 2.4 crystal oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 2.5 burst and surge protections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 2.6 st7 microcontroller and rs232 interface . . . . . . . . . . . . . . . . . . . . . . . . 30 2.6.1 modem / microcontroller interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 2.7 bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 3 demonstration board characterizat ion . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.1 conducted disturbance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 3.2 narrowband conducted interference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.3 output impedance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 4 design ideas for auxiliary blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 4.1 zero-crossing detector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 appendix a documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.2 st7538q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
AN1714 contents 3/46 4.3 l6590 integrated power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.4 st7 microprocessor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.5 surge and burst protections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 5 references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 6 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
list of figures AN1714 4/46 list of figures figure 1. typical powerline modem applications scenario. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 figure 2. mains signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 3. aggregate european powerline impedance (by malack and engstrom). . . . . . . . . . . . . . . . 7 figure 4. voltage spectra of a 100 w light dimmer, a notebook pc, a desktop pc, a cfl lamp, a tle lamp, all working with a 50 hz/~220 v supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 figure 5. fsk modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 6. st7538q transceiver block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 7. st7538q demonstration board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 8. demonstration board layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 9. demonstration board schematic: microcontroller and pc interface . . . . . . . . . . . . . . . . . . 12 figure 10. demonstration board schematic: line coupling interface and power supply . . . . . . . . . . . . 13 figure 11. demonstration board st7538q powerline interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 12. demonstration board st7538q transmission coupling circuit . . . . . . . . . . . . . . . . . . . . . . 15 figure 13. simplified schematic of the transmission filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6 figure 14. simulated characteristics of the transmission coupling filter. . . . . . . . . . . . . . . . . . . . . . . . 17 figure 15. coupling circuit with a 2 nd order band pass butterworth. . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 16. demonstration board st7538q receiving circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 17. measured filtering characteristic of the demonstration board at the rai pin in receive mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 18. powerline output characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 figure 19. voltage regulation and current protection components . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 20. voltage regulation/current protection loop logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 21. current protection loop characteristic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 22. voltage regulation and current protection feedback signals . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 23. power supply emc disturbances filter circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 24. noise generation in resistive supply or ground path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 25. a recommended oscillator sectio n layout for noise shielding . . . . . . . . . . . . . . . . . . . . . . . 28 figure 26. common mode and differential mode spikes example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 27. microcontroller/rs232 interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 figure 28. st7538q / microcontroller interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 29. conducted disturbance setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 figure 30. output signal spectrum, channel 132.5 khz, mains 220 v~, fixed tone . . . . . . . . . . . . . . . 38 figure 31. output signal spectrum, channel 132.5 khz, mains 220 v~, random sequence . . . . . . . . 38 figure 32. output signal spectrum, channel 132.5 khz, mains 110 v~, random sequence . . . . . . . . 39 figure 33. output signal spectrum, channel 110 khz, mains 220 v~, random sequence . . . . . . . . . . 39 figure 34. narrowband conducted interferences setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 35. signal/noise ratio for the 132.5 khz channel, signal level 85 dbuv . . . . . . . . . . . . . . . . . . 40 figure 36. signal/noise ratio for the 132.5 khz channel, signal level 85 dbuv, mains 110 v~ . . . . . . 41 figure 37. signal/noise ratio for the 110 khz channel, signal level 91 dbuv. . . . . . . . . . . . . . . . . . . . 41 figure 38. output board impedance measurement setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 39. output demonstration board impedances (cn1) in receiving condition . . . . . . . . . . . . . . . 42 figure 40. output demonstration board impedances (cn1) in transmitting condition . . . . . . . . . . . . . 42 figure 41. zero-crossing coupling circuit, nonisolated solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 figure 42. zero-crossing coupling circuit, isolated solutions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
AN1714 powerline communication 5/46 1 powerline communication although the concepts of power line communic ation and home automation, as well as the development of different devices dedicated for power line communication, have been present for several years, the market segment for this kind of application has only recently been growing. the three main factors that have contributed up to now to the field of the powerline communication are: a) the slow development of international norms and standards b) some technical constraints related to the electrical network c) general consideration of costs the first point concerns standards and norms. a general consideration in an open communication system is to ha ve mandatory rules and guidelin es to guarantee that every node, whatever the manufacturer, does not compromise the characteristics of the entire network and the performance of the communication system. for residential products this aspect is quite relevant considering the presence of many different appliances and manufacturers, and also the concern for a common language (the protocol) which is mandatory. in 2002 the cenelec (european committee for electrotechnical standardizations) published or updated a series of regulations about communication on low-voltage electrical installations. we refer in particular to the en50065-1, concerning general requirements, frequency bands and electromagnetic disturbances; the en50065-4-2 about the low-voltage decoupling filter and safety requirements; and the en50065-7 about the impedance of the devices. a preliminary version (1999) of the en50065-2-1 about immunity requirements is also available. there has been a certain alignment among the appliance manufacturers on the ehs (european home system) protocols, even if a lot of customized protocols are present, mainly in proprietary mains. more information on ehs protocol is available in the ehs booklet. the second critical consideration concerns th e technical problems regarding the specific topology of the electrical network. figure 2 shows what happens to a signal transmitted on an electrical network. for several reasons that are listed in the next paragraph (low impedance, different kind of disturbances, etc.) the received fsk signal has a very low le vel and it is mixed with a great level of noise.
powerline communication AN1714 6/46 figure 2. mains signals the aspects of noise and low impedance are more critical in a residential house where many different appliances are present. every entity of the network has to be able to manage reliable communication also under these critical conditions. to achieve this goal all aspects of the application design have to be to carefully considered, from the coupling inte rface to the power management, from the type of microprocessor to the powerline transceiver, as well as considering their mutual influences. last but not least, we must consider the economi c point of view. it isn?t a simple calculation of the node cost with respect to an equivalent wireline or wireless solution, but a consideration of other aspects such as the installation and configuration cost of the entire network. another economic issue that has to be considered is the power consumption of a single communication node. the power consumption of each communication unit has to be lower as possible because every unit must always stay on ready to receive commands from a remote transmitter. this constraint is even more relevant in applications with a huge number of nodes. consider for example the control of a street lighting system with thousands of lamps or a metering system with several thousands of electricity meters. the st7538q has been designed considering all iss ues previously listed. with this device it is possible to obtain highly efficient and reliable applications for powerline communication, characterized by low power consumption, lo w cost, and compliance with the main norms and protocol currently in place. 1.1 the electrical network the communication medium consists of ever ything connected to power outlets. this includes house wiring in the walls of the building, appliance wiring, and the appliances themselves, the service panel, the triplex wire connecting the service panel to the distribution transformer and the distribution transformer itself. since distribution transformers usually serve more than one residence, the loads and wiring of all residences connected to the same transformer must be included. st 7538 st 7538 mains tx rx f f transmitted signal received signal st 7538 st 7538 f f f f f fc fc
AN1714 powerline communication 7/46 1.1.1 impedance of powerlines a powerline has very variable impedance depending on several factors such as its configuration (star connection, ring connection) or the number of entities linked. extensive data on this subject has been published by malack and engstrom of ibm (electromagnetic compatib ility laboratory), who measur ed the rf impedance of 86 commercial ac power distribution systems in six european countries (see figure 3 ). these measurements show that the impedance of the residential power circuits increases with frequency and is in the range from about 1.5 to 8 ? at 100 khz. it appears that this impedance is determined by two parameters - the loads connected to the network and the impedance of the distribution transformer. recently a third element influences the impedance of the powerline, in particular in residential networks. it is represented by the emi filters mounted in the last generation of home appliances (refrigerators, washing machines, television sets, stereos). wiring seems to have a relatively small effect. the impedance is usually inductive. for typical resistive loads, signal attenuation is expected to be from 2 to 50 db at 150 khz depending on the distribution transformer used and the size of the loads. moreover, it may be possible for capacitive loads to resonat e with the inductance of the distribution transformer and cause the signal attenuation to vary wildly with frequency. for the compliance tests the normative en50065 use two artificial mains networks conforming to sub clause 11.2 of cispr 16-1:1993. measurements on real networks have shown that this artificial network does not truly represent practical network impedance. to better evaluate the performance of a real signaling system, an adaptive network must be used in conjunction with the cispr 16-1 artifici al network. the design of the adaptive circuit is included in the informative annex f of en50065-1 (revision 2001). figure 3. aggregate european powerline impedance (by malack and engstrom) 1.1.2 noise appliances connected to the same transformer secondary to which the powerline carrier system is connected cause the principal source of noise. the primary sources of noise are triacs used in light dimmers, universal motors, switching power supplies used in small and portable appliances and fluorescent lamps. impedance magnitude (ohm) 0.1 1.0 10.0 100.0 1000.0 0.04 0.08 0.10 0.30 0.75 2.10 5.00 15.00 30.00 frequency (mhz) maximum mean minimum
powerline communication AN1714 8/46 triacs generate noise synchronous with the 50 hz power signal and this noise appears as harmonics of 50 hz. universal motors found in mixe rs or drills also create noise, but it is not as strong as light dimmer noise, and not generally synchronous with 50 hz. furthermore, light dimmers are often left on for long periods of time whereas universal motors are used intermittently. in the last years two other sources of strong noise have been introduced in the electrical network. they are compact fluorescent lamps (cfl) and the switching power supplies of rechargeable battery (for example notebook pcs) or small appliances. in many cases they have a working frequency or some harmonics in the range of the powerline communication band (from 10 khz to 150 khz). of course the presence of continuous tones exactly at communication ch annel frequency can affe ct the reliability of communication. the figure 4 shows some of the noise sources we refer to. the measurement setup consists of an insulation transformer with a variac, a spectrum analyzer hp4395a coupled by a high voltage capacitor (1f) and a 2 mh transformer (1:1). figure 4. voltage spectra of a 100 w light dimmer, a notebook pc, a desktop pc, a cfl lamp, a tle lamp, all working with a 50 hz/~220 v supply 1.1.3 typical connection losses the transmitting range of a home automation system depends on the physical topology of the electric power distribution network inside the building where the system is installed. different connection losses can be measured. for communication nodes connected to the same branch circuit from transmitter to receiver a typical connection loss is about 10-15 db. if transmitter and receiver are in different branches of the circuit, separated for example by a service panel, there is an additional attenuation of 10-20 db. in some worst-case conditions (socket with very low impedance) the attenuation of the transmitted signal can reach a value of 50-60 db. 1.1.4 standing waves standing wave effects begin to occur when the physical dimensions of the communication medium are similar to about one-eighth of a wavelength, which are about 375 and 250 10.0 30.0 50.0 70.0 90.0 110.0 1.00e+03 1.00e+04 1.00e+05 1.00e+06 hz dbuv background cfl 11w desktop pc dimmer 100w tle 22w notebook pc
AN1714 powerline communication 9/46 meters at 100 and 150 khz respectively. primar ily the length of the triplex wire connecting the residences to the distribution transformer determines the length of the communication path on the secondary side of the power distribution system. usually, several residences use the same distribution transformer. it would be rare that a linear run of this wiring would exceed 250 meters in length although the total length of branches might occasionally exceed 250 meters. thus standing wave effects would be rare at frequencies below 150 khz for residential wiring. 1.2 st7538q fsk powerlin e transceiver description the st7538q transceiver performs a half-duplex communication over the powerline network using frequency shift keying (fsk) modulation. the fsk modulation technique translates a digital signal into a sinusoidal signal that can have two different frequency values, one for the high logic level of the digital signal (f h ), the second one for the low level (f l ), as depicted in figure 5 . figure 5. fsk modulation the average value of the two tones is the carrier frequency (f c ). the difference or distance between the two frequencies is a function of the baud-rate (baud) of the digital signal (the number of symbols transmitted in one second) and of the deviation (dev). the relationship is: equation 1 the st7538q can be programmed to communicate using eight different frequency channels (60, 66, 72, 76, 82.05, 86, 110 and 132.5 khz), four baud rates (600, 1200, 2400 and 4800 symbols per second) and two frequency deviations (1 and 0.5). the device operates from a 7.5 to 12.5 v single supply voltage (pavcc) and integrates a differential-output powerline interface (pli) stage and two linear regulators providing 5 v (vdc) and 3.3 v (dvdd). many auxiliary functions are in tegrated. the transmission sectio n includes automatic control on pli output voltage and current, programmable timeout function and thermal shutdown. the reception section includes automatic input level control, carrier/ preamble detection and band-in-use signaling. additional features are included, such as a watchdog timer, zero-crossing detector, internal oscillator and a general purpose op-amp. the serial interface (configurable as uart or spi) allows interfacing to a host microcontroller, intended to manage the communication protocol. a reset output (rsto) and a programmable 4-8-16 mhz clock (mclk) can be provided to the microcontroller to simplify the application. f h f l ? baud dev ? =
powerline communication AN1714 10/46 communication on the powerline can be either synchronous or asynchronous with the data clock (clr/t) provided by the transceiver at the programmed baud rate. when in transmission mode (i.e. rxtx line at low level), the st7538q transceiver samples the data on the txd line, generating an fsk modulated signal on the ato pin. the same signal is fed into the differential power amplifier to get four times the voltage swing and a current capability up to 370 ma rms. when in reception mode (i.e. rxtx line at high level), an incoming signal at the rai line is demodulated and converted in a digital bit stream on the rxd pin. the internal control register, which contains the operating parameters of the st7538q transceiver, can be programmed only using the spi interface. the control register settings include the header recognition and frame length count functions, which can be used to apply byte and frame synchronization to the received messages. figure 6. st7538q transceiver block diagram for a more detailed and complete description of the st7538q device please refer to the product datasheet.
AN1714 demonstration board for st7538q 11/46 2 demonstration board for st7538q 2.1 main features the st7538q demonstration board implements in a two layer pcb a complete powerline communication node, including the powerline coupling circuits, a power supply section, a microcontroller and a rs232 serial interface to connect the board to a personal computer ( figure 8 ). this board with the related firmware load in the st microprocessor and the pc software is a complete reference for the mains aspects of powerline communications. figure 7. st7538q demonstration board figure 8. demonstration board layout the aim of this board is to give a useful tool to develop and to evaluate a powerline application with the device st7538q. so even if aspects of the board concerning size and cost aren't optimized, its schematic gives a good design reference and a valid starting point signal coupling interface st7 power supply pc interface lv hv lv hv lv lv st7538p signal coupling interface st7 power supply pc interface lv hv lv hv lv hv lv lv st7538p q
demonstration board for st7538q AN1714 12/46 to develop powerline modem applications. moreover the board structure (a lot of jumpers, test points, few smd components) allows easily connecting test probes to take measures and signal verifications, as well as customizing the application according to specific requirements. figure 9. demonstration board schematic: microcontroller and pc interface c27 100nf 5v_ p 5v_ p txd micro_txd c2 8 100nf c2 9 100nf c 3 0 10 f c 3 1 100nf c24 100nf c2 3 100nf c25 100nf c 3 2 100nf r16 4.7k 1 5 4 3 2 5v_led rn1 common r4 r 3 r2 r1 1 6 2 7 3 8 4 9 5 cn5 female d11 red tout pa4 pa5 pa6 pa7 8 7 1 6 3 2 r2in r1in_a t1out_a t2out_a pc interface t2out t2out_a c1+ v- c1- c26 100nf 4 5 c2+ c2- v+ 5v_led d10 yellow cd/pd d12 green rx d 9 red d1 3 1n414 8 tx r17 10k 2 9 5 3 1 4 6 7 10 11 12 8 j11 pc5/mo s i pc 3 /icap1_b(h s ) 2 8 26 pc4/m s o/i s pdata micro_txd pc2/icap2_b(h s ) pc1/ocmp1/b 27 pc6/ s ck/i s pclk 2 9 pc7/ ss 3 0 pa 3 3 1 vdd_1 3 2 v ss _1 33 v ss _2 40 25 24 pc0/ocmp2/b 2 3 extclk_a(h s ) 20 icap1_a/pf6(h s ) bu 5v_ p 5v_ p 5v_ p 5v_ p cn6 ocmp1_a/pf4 1 8 pf1/beep an2/pd2 16 9 1 9 v ss a ani4/pd4 reg/data 11 ani 3 /pd 3 wd 10 ani0/pd0 h_ s 7 pb 3 reg_ok 5 pb2 tout 4 pb1 clrt 3 pb0 ss 2 pe1/rdi r s 2 3 2_in 1 (h s )pa4 pa4 3 4 (h s )pa5 pa5 3 5 (h s )pa6 pa6 3 6 (h s )pa7 pa7 3 7 i s p s el re s et r1out vdd_2 o s cout i s p s el re s et 38 o s cin mclk 42 pe0/td0 r s 2 3 2_out 44 t2in h_ s 10 t1in r s 2 3 2_out 11 39 i s pdata i s pclock ss cd/pd 5v_ p clrt rxd 1 3 14 12 vdda ani5/pd5 jp1 d0 3 in1450 an1/pd1 8 pb4 v ss _0 vdd_0 6 22 21 pf2 17 zcout mco/pf0 15 pg rxtx r s 2 3 2_in 12 r1in r1in_a 1 3 t1out vcc gnd t1out_a 5v_2 3 2 5v j10 j 8 j 9 5v_2 3 2 14 16 4 3 41 r2out 9 u4 u 3 s t2 33 4n2 15 s t2 3 2 2 1 3 5 7 9 5v i s pdata i s pclock re s et i s p s el 4 6 8 10 cn7 i s p interface
AN1714 demonstration board for st7538q 13/46 figure 10. demonstration board schematic: line coupling interface and power supply 2.2 signal coupling interface the line signal interface links the application board to the mains, obtaining a highly efficient coupling circuit for the received and transmitted fsk signals and a reliable filtering system for the mains voltage (220 v~/50 hz or 110 v~/60 hz), for noise and for bursts or surges. l1 42v15 2 x 10ma 0. 3 a radiohm l2 220 h l5 1mh l 3 10 h l4 22 h lc12 10 h l7 33 0h c 3 6 4.7nf j7 c 33 10nf c11 33 nf 220v x2 c1 47nf 400v c2 4.7 f 400v c 3 4.7 f 400v d 3 bzw06- 171 d4 s tta106 d2 s tp s 160a s ma tr1 radiohm 6 9 e16h1b 1t 1t vac t6040 3 - 40 9 6-x046 f1 tr5-f 0.5a r1 16.2 2w r5 3 . 3 k rl6 10 r 3 10 r7 9 10 d6 1n414 8 d7 1n414 8 d1 1.5a w04 c10 1f l 8 10 h c7 2.2nf/y1 ato rxfo atop2 atop1 zcout c 8 1f 5v 5v p10v c4 470 f 16v c6 22 f 50v 1 p n cn1 acline 8 5v ac to 256v ac 2 c17 5.6nf/6 3 v c 3 4 100nf r2 2.2k jp 3 5 r15 4.7k r14 1k c 3 7 100pf r12 50k trim d15 p6ke6v 8 a d16 p6ke6v 8 a d17 s m6t6v 8 a r10 5.1 ? r11 750 j1 1 2 p10v cn2 1 2 j4 j5 t2 p n cn 3 d5 green c5 470 f 16v 1 3 gnd gnd gnd 5 8 7 6 4 drain l65 9 0 u1 vcc vfb vcomp c14 10 f c15 100nf c1 8 47pf c21 100nf c 38 10 f 1x 16mhz s old cry s tal ca s e to gnd c1 9 1 8 pf c16 100nf c22 22nf s w1 r 8 4.7m c1 3 220nf cn4 2 3 4 5 7 1 v s en s e xin xout vdc avdd te s t1 j2 cminu s cplu s 3 1 27 26 j6 c_r 9 100nf av ss 25 pavcc 22 pav ss atop1 atop2 20 rxfo 2 9 te s t2 jptin jp 3 6 3 0 n.c. gnd 17 6 33 2 8 3 5 3 4 1 9 21 zcin zcout 15 wd cl 2 3 ato 24 3 2 ato zcout wd 14 reg_ok reg_ok 3 6 pg pg 42 reg_data reg/data re s et 4 3 r s to 12 timeout timeout 7 clrt clrt 8 9 bu rai bu mclk mclk 11 cd/pd cd/pd 1 rxd rxd 3 rxtx rx/tx 4 txd txd 5 dvdd 5v dv ss 10 c20 3 00nf 1 3 16 1 8 n.c. n.c. te s t 3 44 n.c. dv ss 39 gnd 41 3 7 j 3 38 40 2 c_out c_out d0 3 in1451 4 7 2 8 1 3 jp16 5v jp1 3 s t75 38 p u2 zcin 6 cl v s en s e r1 3 5k trim q
demonstration board for st7538q AN1714 14/46 it is possible to implement different topologies of coupling circuits. a first classification is between an isolated solution with a line transformer or a double capacitor and a nonisolated solution with a single high-voltage decoupling capacitor. the last one is simpler and cheaper, while the first one achieves better performances using efficiently the differential power output of the devices. the differential solution has been also preferred for the advantage in reducing the even harmonics of the transmitted signals. figure 11. demonstration board st7538q powerline interface in the design of the coupling interface many technical and standard constraints have to be considered that are different in a receiving condition with respect to a transmitting status. following is a list of design specifications for signal coupling for the european market: high selectivity in receiving mode (en50065-2-1) output impedances as great as possible (en50065-7) low noise in receiving mode wide voltage and curr ent signal compatibility in every condition (en50065-1) very low distortion in transmission mode (en50065-1) high coupling efficiency in transmission mode (also with high loads) high reliability to burst and surge spikes (en50065-2-1) a series of constraints listed in en50065-4-2, "low voltage decoupling filters - safety requirements", have to be guaranteed by the decoupling elements (transformer or capacitors) in order to be compliant with a 4 kv or 6 kv class. the solution implemented in the demonstration board is an isolated circuit with a 1:1 transformer and a x2 class capacitor. in the chosen topology the transmission sections components do not have any relevant influences on the receiving circuits, so the two structures can be analyzed separately. the component values that consitute the passive filters have been dimensioned for the 132.5 khz channel, but also with the 110 khz communication frequency, the performances of the board meet the requirement for reliable communication. mains 1:1 atop1 atop2 rai c13 c33 r11 l7 c36 lc12 r10 cr9 l4 c11 t1 r8 d17 d15 d16 19 21 32 tx band pass filter tx band pass filter protections rx band pass filter st7538 1:1 1:1 l7 c36 21 q
AN1714 demonstration board for st7538q 15/46 2.2.1 transmitting section the function of the transmitting coupling circuits is to inject the transmitted signal coming from the power amplifiers (atop1/atop2) to the mains with the maximum efficiencies and filter noise and spurious signals over the cenelec mask (en50065-1, section 7: disturbances limits). the critical frequencies of the conducted disturbances emitted are the 2 nd and 3 rd harmonics of the transmitted signal (265 khz and 497.5 khz for the channel at 132.5 khz) the harmonics of the working frequency of the power supply regulator and two spurious tones centered at 1.3 mhz (+/- the channel frequency) produced by the direct synthesis technique used for the transmitted signal generation. the configuration used for the transmitted circ uit uses a 4th order band pass filter (four poles and two zeros). in order to have good immunity to the components spread (accuracy and temperature) and to the load variation, the filter has a band of about 60 khz (see figure 14 ). to obtain this characteristic two poles can be put at a frequency of about 100 khz and the other at a frequency of about 160 khz. figure 12. demonstration board st7538q transmission coupling circuit for a correct dimension of the filters the mutual influence of the various components has to be considered, as well as the influences due to the other elements: the leakage inductance of the transformer (from 0.1 h to 10 h), the capacitance of the transil diode (about 2 nf), the esr of the series components c 13 , lc 12 , t 1 , l 4 , c 11 (from 100 m ? to 1 ? ). for a first approximate rate of the components? values, only the reactive components are used in the simplified circuit of figure 13 and the transformer (1:1 ratio) is considered ideal. for the correct dimensioning of the filter it is better to consider the typical impedances expected for the mains network (usually an inductive load). if an impedance characterization of the network is not available it is possible to use a reference load like the artificial network cispr16-1 (50 ohms parallel 5 ? plus 50 h). in the simplified circuit only the reactive part of the cispr 16 artificial network (2 x lc = 100 h) has been considered 1:1 atop1 atop2 rai c13 c33 r11 l7 c36 lc12 r10 cr9 l4 c11 t1 r8 d17 d15 d16 19 21 32 50 ? 5 ? 50 h 50 ? 5 ? 50 h transmission coupling section artificial network cispr 16-1 100k ? st7538 2.5v 1:1 1:1 c33 r11 l7 c36 t1 r8 19 21 32 50 ? 5 ? 50 h 50 ? 5 ? q
demonstration board for st7538q AN1714 16/46 figure 13. simplified schematic of the transmission filter the formulas for the two couples of poles are: equation 2 equation 3 the peak value of the signal current can reach with heavy load a current peak value greater than 1 a so all the components of the coupling interfaces in series to the signal (in particular the inductors lc 12 , l4 and the transformer t 1 ) have to be guaranteed for this current without saturation or overheating problems. the maximum current of the inductive elements, as well as the series resistance, are proportional to the value of the inductance. in any case the esr of these inductive elements has to be as low as possible to obtain a good coupling interface. in fact with a global impedance series greater than 2 ? the coupling losses of the transmitted signal wi th heavy loads could be excessive. for these reasons an lbc (large bobbin core) inductor with values small as possible (l c12 = 10 h and l 4 = 22 h) has been chosen in this circuit. another constraint concerns the value of the capacitor c 11 . this is an x2 class capacitor that has the primary function to uncouple the transformer from the mains. it is better to use a value as low as possible for economic reasons, as well as to obtain a 50 hz mains current in the secondary coil of the transformer as low as possible in order to reduce saturation effects. the value chosen is 33 nf. considering that all the mains voltage drops across the c 11 capacitor, the current value in the transformer coil is about: equation 4 using equation 2 and equation 3 the values of c r9 (100 nf) and c 13 (220 nf) can be rated. the requirements for this type of capacitor are accuracy, the temperature compensation and a low esr value. polyester capacitors or polypropylene capacitors (better temperature coefficient) are suggested. the accuracy should be at least 10%. c13 lc12 cr9 l4 c11 l c = 50 h l c = 50 h cispr load 1 st loop 2 nd loop cr9 c l c = 50 h ? p1 ? p2 1 2 l c12 c a ? ?? ------------------------------------------------------- - 160khz ? p2 ? p3 1 2 l b c b ? ?? ------------------------------------------------ 100khz ?? = , ?? = 1 c a -------- 1 c r9 ------------ 1 c 13 ---------- - 1 c b ------------ - ; + 1 c r9 ------------ 1 c 11 ---------- - + == i rms 220v rms 2 50hz c 11 ? ??? ? 2.3ma rms =
AN1714 demonstration board for st7538q 17/46 using components with standard values the real values of the poles are: equation 5 the values obtained are very close to the spec values and in agreement with the simulated results (see figure 14 ). in any case for a better result we suggest using a simulator or an equivalent specific program to design filters. the r 10 resistor has been added to fit the output impedance requirement in receiving mode (en50065-7). an alternative solution for the transmission coupling circuit is shown in figure 14 above. it implements a 2nd order band pass butterworth filter centered at the channel frequency. the advantage of this solution is the symmetrical structure that compensates the non- linearity of the components (lower level for the even harmonics). also in this case a correct dimension of the filter has to take in account the parasitic elements of the various components, as well as the load influence. figure 14. simulated characteristics of the transmission coupling filter vdb (outc2) db 10 0 -10 -20 -30 -40 -50 -60 -70 -80 1e+u4 1e+u5 1e+u6 2e+u6 hz ? p1 ? p2 192khz ? p2 ? p3 91khz == , ==
demonstration board for st7538q AN1714 18/46 figure 15. coupling circuit with a 2 nd order band pass butterworth one of the most critical components of the application is the signal transformer. in order to have a good power transfer and to minimize the insertion losses it is recommended a transformer with a primary inductance greater than 1 mh and a series resistance lower than 0.5 ? . another constraint concerns the saturation current: a dc or low frequency current (50 hz) should be present. another parameter to take in consideration is the leakage inductance. if it has a relevant value (from 10 h to 50 h) the inductance l 4 can be avoided. the drawback is that this parameter has great variation that influences the output filter characteristics. for this reason in the demonstration board a transformer with a very low leakage inductance (lower than 1 h) is used . the european normative (cenelec) gives another constraint regarding the voltage insulation resistance and dielectric strength of the application that influences the transformer. two classes are indicated, a 4 kv and a 6 kv class. the classification and measurement criteria are codified in the en50065-4-2 cenelec document. in case of heavy load a smart solution is to use a 2:1 transformer. the equivalent impedance of the load referred to the primary coils of the transformer has a value four times bigger than with a 1:1 ratio transformer. also the current supplied by the power interfaces has half value. the only critical point is that in order to have the same output signal level on the mains, the st7538q power interfaces has to generate a double signal (more problems with odd harmonics). seldom a low amplitude signal at high frequency (greater than 10 mhz) can be present on the output signal. it should originate by a resonance from the leakage inductances and the parasitic capacitance of the board and of the st7538q output stage. usually the series inductor l c12 stops this kind of oscillation. 2.2.2 receiving section the receiving circuit of the coupling interface has the main function to filter noise tones from the network that can overcome the maximum absolute rates of the rai pin, or in any case degrade the demodulation performances of the device (en50065-2-1, section 7.2.3: narrow-band conducted interference). the solution adopted in the demonstration board consists of a resonant parallel circuit that implements a 2 nd order passive filter (c 36 , l 7 r 11 ). the c 33 capacitor is a decouple component that saves the dc value on the rai pin (2.5 v). this dc value obtains the maximum voltage input signal (2vrms) compatible with the absolute of the devices. mains 1:1 atop1 atop2 220nf 10 h 4.7 ? 100nf 33nf x2 19 21 st7538 220nf 10 h 47 h transmission 2 nd order band pass butterworth 1:1 1:1 220nf 10 h 4.7 ? 100nf 19 21 q
AN1714 demonstration board for st7538q 19/46 figure 16. demonstration board st7538q receiving circuits in the receive mode the atop1 pin has a high impedance and a dc polarization at pavcc/2 while the atop2 pin is tied to ground internally into the device with a power mos (few milliohm resistance). with this configuration the two resonant series l 4 , c 11 and lc 12 , cr 9 , r 10 can be considered as first approximation neglected (l4/c11 has the resonance at the channel frequency while the lc 12 /cr 9 has the resonance at an higher frequency). the only effect of these components is to attenuate the amplitude of the received signal, about 6 db with the used values of cr 9 and r 10 . according to these considerations the dimension of the input filter frequency depends mainly on the choice of c 36 l 7 and r 11 . these components implement a 2 nd order band pass filter. the center band frequency of the filter is the channel frequency: equation 6 the other parameter to take in account for the receiving filter design is the quality factor (q). its value is a tradeoff between the selectivity requirements (high q values) and the component and temperature spreads. using a polypropylene capacitor with a 5% tolerance and a bc inductor with a tolerance of 10%, a q value betweens 2 and 3 is acceptable. equation 7 in order to not influence the transmitting section and to reduce the dc current through the primary coil of the transformer, the value of r 11 should be as high as possible. the drawback of a greater value for this resistor is that it produces a higher white noise. a value of 750 ? satisfies these opposite requirements for all communication channels. fixing the resistor value and using the previous equations, it is possible to rate the values of c 36 and l 7 . 1:1 atop1 atop2 rai c13 c33 r11 l7 c36 lc12 r10 cr9 l4 c11 t1 r8 d17 d15 d16 19 21 32 receiving coupling section 22 pavcc 100k ? 60k ? 60k ? st7538 2.5v 1:1 c13 q ? 0 1 2 l 7 c 36 ? ?? -------------------------------------------------- ? 132.5khz = qr 11 c 36 l 7 ---------- - ? ? 2.85 =
demonstration board for st7538q AN1714 20/46 ta bl e 1 shows some possible commercial values for these components in reference to different communication channels. the resonance frequency of the filter is strictly linked to the spread of these components and an excessive spread can produce an excessive attenuation on the received signal. the accuracy of l 7 and c 36 has to be great. for the same reason the q factor has a relevant part in the design of the rx filter. some application can use more than one communication channel at the same time, in this case the best choice is to have a resonance frequency at a mean value of used frequencies and a q factor not too high. figure 17. measured filtering characteristic of the demonstration board at the rai pin in receive mode for the receiving filter a passive solution is preferred to an active filter. the experience has shown evidence that an active filter introdu ces white noise comparab le with the received signal level. some receiving circuit interfaces, for example with a 2:1 signal transformer, can have a gain greater than 0db (unit gain). in this case, if the band-in-use function level of the st7538q is used, an attenuation of the received signal (for example with a resistors divider) is necessary to have the same level of the signal present on the mains to be compliant with cenelec specifications. table 1. parallel resonance rx filter components rx filter c36 l7 f 0 ch 132.5 khz 6.8 nf 220 h 130.1 khz ch 110 khz 10 nf 220 h 107.3 khz ch 86 khz 10 nf 330 h 87.6 khz ch 82.05 khz 8.2 nf 470 h 81.1 khz ch 76 khz 10 nf 470 h 73.4 khz ch 72 khz 22 nf 220 h 72.3 khz ch 66 khz 18 nf 330 h 65.3 khz ch 60 khz 22 nf 330 h 59.1 khz rxfilter -5.00e+01 -4.00e+01 -3.00e+01 -2.00e+01 -1.00e+01 0.00e+00 1.00e+04 1.00e+05 1.00e+06 hz db
AN1714 demonstration board for st7538q 21/46 2.2.3 voltage regulation-current protection loops a powerline network requires an appropriate driving circuit able to adapt the output signal characteristic to the different and low values of the mains impedance. figure 18. powerline output characteristics figure 18 shows the characteristic of a coupling circuit. the characteristic has a range with constant voltage amplitude of the transmitted signal. when the line impedance has reached a critical z 0 value, corresponding to the maximum power, the amplitude of the output signal is decreased in order to have a constant current. the value of z 0 depends mainly on the network impedance, while the maximum value of v 0 depends on the norm (en50065 -1) and on the maximum curren t capability of the powerline interface. the st7538q integrates a control voltage / current protection circuit. it is possible to program the values of z 0 and v 0 with external resistors. the r13 trimmer sets the current protection limit and the r14 and r12 trimmers the peak voltage level. the dimension of these external components influences the design of the coupling interfaces and of the power management, too. for example all the components in series to the signal (transformer, filter inductors, decoupling capacitors, fuses) have to guarantee a maximum current or a saturation current greater than the maximum current programmed with r 13 , as well as the dimension of the curren t capability of the power supply. the capacitors on the supply line have to be chosen according to the programmed current values. the control loop circuit inside the devices is obtained by a voltage controlled amplifier (vca) with a logic circuit that im plements the following control ( figure 20 ). the current protection has the priority with respect to the voltage loop regulation, so if an output current greater than the programmed value (i ref > i h ) is detected, the digital control acts on the vca to reduce the output signal voltage. when the current reaches the programmed value, the gain of the vca is frozen. in case of no current protection condition (i ref < i l ), the voltage regulation loop assumes the control and modifies the gain of the vca until the output signal reaches the programmed values. the vca changes its gain at steps of about 1db (10%). the logic samples the current and voltages values with an internal clock of 5 hz , so the transmitted signal is updated every 200 sec at steps of 1 db. v z i zone v zone line load (ohm) s i g n a l a m p l i t u d e v 0 z 0 v z i zone v zone line load (ohm) s i g n a l a m p l i t u d e v 0 z 0 z 0
demonstration board for st7538q AN1714 22/46 figure 19. voltage regulation and current protection components the value of the transmitted signal is programmed using the resistors divider r 12 /r 14 (the capacitor c 17 has a decoupling function for the dc value on the v sense pin). the regulations loop changes the vca amplifier gain until the sinusoidal signal on the v sense pin reaches the values of vcl th (see datasheet values) with a tolerance of about 10% (vcl hyst hysteresis value). the following simplified formula calculates the resistors divider ratio. equation 8 for a more precise rate in the formula, the input impedance of the v sense pin (~36 k ? ) and the decoupling capacitor c17 (for values of some nanofarads this capacitor can be neglected) have to be considered also. figure 20. voltage regulation/ current protection loop logic r 12 r 14 c 37 r 13 vsense cl st7538 voltage controlled signal feedback signal vr pk vcl th vcl hyst atop/ato vcl hyst vout iout c 17 signal vcl th vcl hyst 1.865 v vcl hyst q vr pk r 14 r 12 + r 14 ---------------------------- vcl th vcl hist () vcl th =190mv vcl hist =19mv ? ? ? test current control test voltage control reduce gain constant gain iref < il iref > ih vref > vh vref < vl constant gain reduce gain increase gain test current control test voltage control reduce gain constant gain iref < il iref > ih vref > vh vref < vl constant gain reduce gain increase gain
AN1714 demonstration board for st7538q 23/46 in the demonstration board it is possible to link the feedback signal (top of r 12 resistor) to the atop1 or to the atop2 pin through jumper j36. the choice of the feedback connection point depends on the network coupling circuit topology. if a big noise coming from the mains is present disturbing the voltage control loop, a possible solution is to connect the feedback to the ato pin. in this case the output signal has half the value with respect to the atop pins, so the r 12 resistor has a half value (or the r 14 resistor has to be doubled). in the demonstration board it is possible to change the output signal voltage level acting on the r 12 trimmer. ta b l e 2 gives the values of the trimmer to assume some standard output values. the resistor connected to the cl pin (the trimmer r 13 in the demonstration board) has the function to program the current protection threshold. the capacitor c 37 in parallel to the resistor has a filtering function for noise and spikes. a mirrored current (ratio 1:5000) of the p channel power mos of the powerline interface of the device (both atop1 and atop2) is present on the cl pin. the voltage on the cl pin is proportional to the output current and to the resistor connected to the pin. the peak value of this voltage is compared with an internal reference of the device. if the signal overcomes the threshold, the loop acts on the vca reducing the transmitted signal and therefore the output current. the resistor value determines the output signal that the interface is able to supply. in conjunction with the programmed output voltage v 0 the maximum current level fixes the minimum value of driving impedances (z 0 ). table 2. voltage regulation loop (divider and r12 resistors values) v out (vrms) (1) 1. the regulated vout voltage is the point linked to the voltage feedback divider (top of r12). v out (dbuv) (r 14 +r 12 )/r 14 r 12 (k ? ) (2) 2. the rate of r14 takes in account the input resistance on the v sense pin (36 k ? ). the decoupling capacitor (c17) has been neglected. 0.150 103.5 1.1 0.1 0.250 108.0 1.9 0.9 0.350 110.9 2.7 1.7 0.500 114.0 3.7 2.6 0.625 115.9 4.7 3.6 0.750 117.5 5.8 4.7 0.875 118.8 6.6 5.4 1.000 120.0 7.6 6.4 1.250 121.9 9.5 8.3 1.500 123.5 10.8 9.5
demonstration board for st7538q AN1714 24/46 figure 21. current protection loop characteristic figure 21 above gives the value of the cl resistor to program the maximum current value. figure 22 shows all the main signals of the control loop feedback, i.e. output signal, load current, v sense voltage and cl voltage. figure 22. voltage regulation and cu rrent protection feedback signals 2.3 board power management the demonstration board has a mains supply with a flyback converter using the monolithic switching regulator l6590. the regulator can have both a 220 v or an 110 v supply voltage of the mains. it is possible to use an external power supply connected to cn2, too. in this case the jumpers j4 and j5 have to be removed and the connector cn3 has to be used instead of the standard socket cn1. current protection 100 125 150 175 200 225 250 275 300 325 350 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 r 13 (kohm) ma (rms)
AN1714 demonstration board for st7538q 25/46 the correct supply of the board is indicated by the green led d5. it is possible to turn off this led by removing the j1 jumper. the 5 v internal regulator of the st7538q (vdc pin) supplies the microcontroller st7, the st232 interface device and the led (d9, d10, d11, d12). using the jumper connections j8 (st7), j9 (leds) and j10 (st232) it is possible to monitor the current of these components or remove the supply to these demonstration board parts. the 5v supply is available also on pin #1 of the cn6 connector. a typical power consumption of the powerline application (switched regulator excluded) is about 18ma in receiving mode, 120 ma in transmitting mode without load. every led on increases the current consumption by 4 ma. the current consumption of the rs232 interface is about 12 ma, which means that the overall current consumption of the microcontr oller plus the st7538q in receiving mode is about 6 ma. the current consumption depends also on the clock frequency selected. there is a variation of 5 ma from a 4 mhz clock to a 16 mhz clock. 2.3.1 l6590 regulator the flyback converter configuration using the l6590 regulator has a specific topology that implements the feedback on an auxiliary windi ng of the primary side of the flyback transformer. with this configuration it is possible to save the cost of an optocoupler. the drawback of this solution is the wide load range of the regulated voltage. in a condition of low current consumption (20ma) the value of the supply voltage is about 12 v, in transmission the value is about 10.5v. the maximum power of this configuration is about 3 w. the dimension of the maximum power consumption of the regulators is related to the current limit of the powerline interface programmed with the r13 resistor on the cl pin. if an external power supply is used, the designer must carefully verify that also in a continuous transmission condition the supply is able to supply the requested current. another aspect that has to be considered wi th attention in a continuous transmission condition is the overheating condition of the devices with the thermal protection activation (transmission aborted and signal tout high). in the demonstration board a socket for the st7538q is used, therefore the slug of the package cannot be soldered to a dissipating surface as recommended. for this reason, in presence of a heavy load during a continuous transmission, the thermal protection threshold is reached in a shorter time. a critical point common to all swit ching solutions, especially for th is kind of application, is the electromagnetic noise and the conducted distur bance generated. in particular the main noise frequencies are due to the switching fr equency and to the resonance of the leakage inductance with the drain capacitance.
demonstration board for st7538q AN1714 26/46 figure 23. power supply emc disturbances filter circuit in the demonstration board these critical values are at 20 khz or 66 khz (switching frequencies respectively with low and high load condition) and at about 800 khz for the resonance. it is important that the resonance of the input filter is at a frequency far from the communication bands used, otherwise its low impedance attenuates the communication signals. for the demonstration board the resonance frequency is from 10 khz to 20 khz. the 15 ? resistor r1 has the double function to protect the input stage of the supply from surge or burst and at the same time to make the application board compliant with the en50065-7 standard. another consideration concerns the frequencies noise generated by the supply. even if the noise generated is compliant with the normative mask limit, it is mandatory to choose a value of switching frequency (and its lower order harmonics) far from the communication channel frequency. in fact the modem is able to demodulate very low amplitude signals (500uvrms). noise, also with a low amplit ude value, can degrade the communication. this consideration is valid only in a receiving condition, during the transmission a little noise at the same frequency of the transmitted signal (2v rms ) can be neglected. the working frequencies of the l6590 are 20 khz with a low value current (receiving condition), and 66 khz with high current, i.e. in a transmission condition (220 ac mains). in the transmission case the 2 nd harmonic at 133 khz (communication channel 132.5 khz) has an irrelevant influence. the value of the supply voltage is related to the amplitude of the output signal (see the st7538q datasheet), so usually a voltage of at least 10 v is mandatory to avoid distortion problems. the same voltage value does not occur in a receiving status. in case of strong constraints regarding the power consumption, it is possible to use two different power supply values. for example possible values are 10.5 v during the transmission, and 7.5 v in the receiving status. this can be done easily by ch anging the feedback resistor divider of the regulator using a switch controlled by the rxtx signal (pin #4) of the st7538q. for more detailed information about the l6590 and other possible configuration please refer to the product datasheet and related application notes. 2.3.2 st7538q power supply a fundamental aspect of the board design is the configuration of the st7538q supply system. mains l1 l5 r1 c1 d1 mains l1 l5 r1 c1 d1
AN1714 demonstration board for st7538q 27/46 it is recommended to connect all grounds of the device to a common ground node, connected to the copper plate of the slug. during transmission a high current (up to 0.3a rms = 0.85a pp ) at the signal frequency is present through the supply rail and the ground plane. in case of ground or supply paths with a "high" resistance (even a few m ? can be critical), the high current could produce a ripple at the second harmonic of the signal frequency that should be coupled onto the mains: equation 9 as the rate above shows, the noise contribution has a relevant value with respect to the cenelec mask. figure 24. noise generation in resistive supply or ground path concerning the odd harmonics, generally they are produced by high current (high load) and are generated by saturation problems of external components or of the power section of the device. another origin of the odd harmonics with high amplitude of the voltage output signal could be a low power supply value on the pavcc pin. a critical aspect of the device power supply is the high peak current requested at the startup phase of the transmission. the peak value requested from the supply from the low impedance present at the atop pins can reach 2 a. for this reason it is mandatory to use a storage capacitor (c 38 ) with a value of at least 10 f and an esr as low as possible. for example a tantalum capacitor or a smoothing ceramic capacitor (tdk c series) could be used. the linear low drop voltage regulator of the st7538q supplies all the low voltage parts of the demonstration board, including the digital and analog (pin dvdd and avdd) parts of the device itself. on the regulator output vdc (pin #33) a low esr 10 h capacitor (c 14 ) is recommended. in some conditions a noise present on the analog supply avdd (pin # 28) can be transferred to the internal modulation and demodulation blocks. to avoid this situation it could be useful 0.85a pp 0.002 ? 1.7mv pp 56db v ? = ? noise 2m ? z l 19 21 st7538 22 18 2m ? noise pavss atop2 atop1 pavcc noise 2m ? z l 19 21 st7538 22 18 2m ? noise pavss atop2 atop1 pavcc q
demonstration board for st7538q AN1714 28/46 to filter this supply pin adding an inductor (l 8 ) in series to the capacitor (c 16 ) or using a specific emc component (for example a tdk chip beads series mmz1602c). 2.4 crystal oscillator the st7538q crystal oscillator circuitry is ba sed on a mos amplifier working in inverter configuration. this circuitry requires a crystal having a maximum load capacitance of 16 pf and a maximum esr of 40 ? . it is very important to keep the crystal oscillator and the load c apacitors as close as possible to the device. the resonant circuit must be far away from noise sources such as: power supply circuitry burst and surge protections mains coupling circuits any pcb track or via carrying a signal to properly shield and separate the oscillator section from the rest of the board, it is recommended to use a ground plan e, on both sides of the pcb, filling all the area below the crystal oscillator and its load capacitors. no tracks or vias, except for the crystal connections, should cross the ground plane. it is also recommended to use a large clearanc e on the oscillator related tracks to minimize humidity problems, see figure 25 . connecting the case to ground is also a good practice to reduce the effect of radiated signals on the oscillator. figure 25. a recommended oscillator section layout for noise shielding it is possible to provide an external clock with the requested characteristics at the xout pin. probably in this case the global power consum ption of the applicatio n will have a relevant increase. st7538q 25 sgnd 26 xout 27 xin top layer bottom layer clearance
AN1714 demonstration board for st7538q 29/46 2.5 burst and surge protections the environments encompassed by this application include residential, commercial and light-industrial locations, both indoor and outdoor. for this reason a series of immunity specification standards and tests have to be applied to the powerline application to simulate the environment. the requirements include en610000-4-2, en610000-4-3, en610000-4-4, en610000-4-5, en610000-4-6, en610000-4-8, en610000-4-11 and env50204. all these tests are listed in the en50065-2-1 document (part 7, immunity specifications). these standards include surge tests, both common and differential mode (1 kv/0.5 kv, tr=1.2u sec) and fast transient burst tests (2kv, tr=5n sec, th=50n sec, repetition frequency 5 khz). the specific structure of the coupling interface circuit of the application is a weak point with respect to the high voltage tests. in fact an efficient coupling circuit with low insertion losses consequently obtains a very low impedance path from the mains to the power circuit of the devices that can destroy the internal power circuits of the st7538q. for this reason is recommended to add some specific protection on the path that links the atop pins to the mains. figure 26. common mode and differential mode spikes example a solution that uses three transil diodes (p6ke6v8a or sm6t6v8a) connected in a star configuration has been implemented in the demonstration board. a bidirectional transil was not used because for common mode surge it is better to have a discharge path to ground external to the devices. in receiving mode the atop2 pin polarizes the coupling interface to ground. in this condition without the diode d17 all the external signals greater than 1.4 v peak-to-peak are clamped by d15 and d16. in some conditions the transil diodes may not be reliable in presence of fast transient bursts. in this case it is possible to add some fast response esd diodes as esda6v1l (two components) connected in parallel to the transil with the same star configuration. the solution used for the demonstration board can give some general guidelines but can't be generalized to all types of powerline communication applications. considerations about surge and burst protections depend on several factors such as coupling interfaces, the board layout or the characteristics of the components used. every application needs a specific analysis. 1:1 19 21 22 st7538 1:1 19 21 22 st7538 differential mode common mode d16 d17 d15 d16 d17 1:1 q q
demonstration board for st7538q AN1714 30/46 for some general considerations or a protection components list refer to the annexed application notes and documentation. 2.6 st7 microcontroller and rs232 interface to complete an application for the powerline communication a microprocessor must manage the upper layer of the communication protocol and eventually process other signals related to the application (signal from sensors, current measures, driving actuators, and so on). a different type of microcontroller can be required depending on the specific application. the demonstration board has a st72c334j2 or st72c334j4 microprocessor. this component is connected to the st232 driver interface and to the st7538q. the loaded firmware has the function to receive from the pc program interface (through the standard rs232 serial port) some commands to manage the control register writing and reading procedures as well as the transmitting and receiving functions of the modem. the results of the executed command come back to the pc program interface and are displayed on the monitor. figure 27. microcontroller/rs232 interface the st7 microprocessor controls also the led diodes d9, d10, d11, d12. the d9 (red) is turned on during a transmission condition; the green led d12 is turned on when the receiving mode is activated. the d10 yellow diode is switched on when the band-in-use signal is active. the d11 led (red) is on when a timeout event occurs. to save power consumption the leds are turned off by removing jumper j9. the st7 firmware can be customized. some of the i/o digital pins or analog input pins of the microprocessor, that can be used to monitor some external signal or sensors and to drive relays or other external devices, are available at the connector cn6. the connector cn7 is used for st7 memory in-situ programming. for a correct programming procedure the st7538q has to be supplied, we suggest using an external 10 v supply from the connector cn2. the jumper j11 has to be opened. st72c334 cn5 pc interface pe0/td0 44 pe1/rdi 1 ani0/pd0 7 t1in r1out t2in st232 11 12 10 t1out 14 t2out 7 r1in 13 r1in_a 3 t1out_a 2 t2out_a 1 pa7 37 pa6 36 pa5 35 pa4 34 rn1 d11 d12 d10 d9 1k 1k 1k 1k 5v_led pe0/td0 pe1/rdi 1 ani0/pd0 7 11 12 14 t2out 7 13 pa7 37 pa6 36 pa5 35 pa4 34
AN1714 demonstration board for st7538q 31/46 if an emulator is linked to the board we recommend programming a 4 mhz clock in the st7538q internal register. for more accurate and complete information on the features, characteristics and issues concerning st microprocessors, please refer to the attached documentation or to the reference documents or go to the site www.stmcu.com. 2.6.1 modem / microc ontroller interface the interface signals between modem st7538q and the st2c334 microcontroller can be divided in three categories: th e control signals, the communica tions signals and the auxiliary signals. the first group consists of th e clock signal (mclk/oscin) the reset signal (rsto/reset) and the watchdog signal (wd/pd3). the clock signal of the microcontroller is prov ided by the st7538q from the mclk pin. the default is 4mhz but it is possible to increase this value (8 mhz or 16 mhz) by programming the st7538q control register. the reset of the microcontroller is provided by the modem. the reset line is connected to the manual reset (c 22 , r 15 and sw1) and to the reset pin of the cn7 connector for the in-situ programming mode procedures. the watchdog signal has to be managed from the microcontroller (pd3 output port). if the st7538q doesn't detect any activity on the wd pin, it generates a reset signal on the rsto pin. it is possible to disable this func tion through the modem control register. the second group of signals consists of the links necessary for the modem/micro controller unit communication. these include the data signals rxd (from the modem to the mcu) and txd (from mcu to the modem), the transmitting/r eceiving status selection signal (rx/tx), the internal st7538q register control access signal reg/data, and the recovery clock signal clrt. the isp (in situ programming mode) signals coming from the cn7 connector are also linked to the communication wires and to the reset. remember to open the jumper j11 during the programming phase. the simplest interfacing mode is the synchronous mode. in this case it is possible to use the spi interface of the mcu. the pc5/mosi (slave in data) is connected to the rxd pin, the pc4/miso pin (slave out data) is connected to the txd pin and the pc6/scki (spi serial clock) pin is connected to the clrt pin. the spi slave select (pc7/ss) is controlled by the mcu itself through the pb0 i/o port. the clrt signal is connected to the pb1 i/o pin too. it is also possible to implement an asynchro nous interfacing mode, and for this reason the pin rxd is also connected to the pc3/icap1_b pin (timer b input capture). in this modality of communication the clrt signal isn't considered and the recovered clock has to be rebuilt internally by the mcu. if the st7538q control register has to be changed from the default configuration, the first acce ss has to be done at baud rate of 2400. the idle state of the rxd output is the low state, so an asynchronous interface could be necessary to invert externally this signal. a diode (d 13 ) and a pull down resistor r16 were inserted on the txd connection line. with these components it is possible to transmit a frame coming from an external device (for example a ber tester). it is sufficient to configure the modem in a transmitting status and
demonstration board for st7538q AN1714 32/46 the mcu has to keep the pc4 pin low. the external signal can be applied at the diode cathode. figure 28. st7538q / microcontroller interface the third group of signa ls consists of a series of auxilia ry signals coming from the st7538q linked to some standard input of the microcontroller. the cd/pd and bu signals give information about a carrier (or preamble detection) condition and about the bu condition (according the en50065-1). if the zero - crossing comparator is used, the zcout signal gives a digital signal synchronized with the mains phase. the pg, tout and reg_ok signals are monitor signals. the pg signal indicates the correct supply level of the internal 5 v regulator of the st7538q (vdc). if the modem regulator supplies the microcontr oller or its reset is connected to the rsto pin, it is recommended to monitor this signal. in fact when the pg signal goes down during a shutdown procedure, the microcontroller can try to correctly stop the running activities (for example a memory writing) before the uvlo threshold is reached and the entire application is reset, or before the regulator isn't able to correctly supply the micro. when a pg down is detected, the transmission is disabled to avoi d uncontrolled access to the mains. in any case a correct shutdown procedure has to be completed to perform a correct reset of the application. the tout signal is active when a transmission procedure is aborted, either for a time out event or for an overheat condition. the reg_ok signal shows corruption of the internal modem register. pay attention that the reg_ok function doesn't check uncontrolled control register write procedure, due for example, to a voltage spike on the regdata and rx/tx pins. st72c334 st7538 pc3/icap1_b pc5/mosi oscin reset 42 39 26 pc4/miso/ispdata 27 28 pc6/scki/ispclk 29 ani4/pd3 10 ani5/pd4 11 ani6/pd5 12 mco/pf0 15 pf1/beep 16 pf2 17 pb1 3 pb2 4 pb3 5 rxd mclk rsto 11 12 3 txd 5 clrt 8 wd 14 reg/data 43 rxtx 4 pg 42 bu 9 zcout 15 tout 7 reg_ok 36 ispclock j11 r16 d13 isp reset r15 c22 sw1 ispdata ispsel ispsel 38 r17 cd/pd 1 pa3 31 pb0 2 pc7/ss 30 st72c334 st7538 pc3/icap1_b pc3/icap1_b pc5/mosi pc5/mosi oscin oscin reset reset 42 39 26 pc4/miso/ispdata 27 pc4/miso/ispdata 27 28 pc6/scki/ispclk 29 pc6/scki/ispclk pc6/scki/ispclk 29 ani4/pd3 10 ani4/pd3 10 ani5/pd4 11 ani5/pd4 11 ani6/pd5 12 ani6/pd5 12 mco/pf0 15 mco/pf0 mco/pf0 15 pf1/beep 16 pf1/beep pf1/beep 16 pf2 17 pf2 pf2 17 pb1 3 pb1 pb1 3 pb2 4 pb2 pb2 4 pb3 5 pb3 pb3 5 rxd mclk rsto 11 12 3 txd 5 clrt 8 wd 14 reg/data 43 rxtx 4 pg 42 bu 9 zcout 15 tout 7 reg_ok 36 ispclock j11 r16 d13 isp reset r15 c22 sw1 ispdata ispsel ispsel ispsel 38 r17 cd/pd 1 pa3 31 pa3 31 pb0 pb0 2 pc7/ss pc7/ss 30 q
AN1714 demonstration board for st7538q 33/46 2.7 bill of material table 3. power supply sections item n name descriptions 1 1 cn1 header 2 2 1 cn2 header 2 3 1 c1 47 nf/250 v~ y2, evox rifa, pme271y447m 4 2 c2 4.7 f/400 v rubycon yk, 400-yk-4r7-m-t8-10x16 c3 4.7 f/400v rubycon yk 5 2 c4 470 f/16v rubycon zl, 16-zl-470-m-t8-10x12.5 c5 470 f/16 v rubycon zl 6 1 c6 22 f/50 v 7 1 c7 2.2 nf/250 v~ y1 ceramite, 440ld22 8 1 c8 1 f c9 91c10 1 f 10 1 c34 100 nf/100 v c35 11 1 d1 rectifier 380 v/1.5 a, b380c1500m 12 1 d2 stps160a sma 13 1 d3 bzw06-171 14 1 d4 stta106 15 1 d5 led green 16 2 d6 1n4148 d7 1n4148 17 1 f1 tr5-f 250 v 500 ma, wickmann, 370.0500.041 18 3 j1 jumper closed j4 jumper closed j5 jumper closed 19 1 l1 2x10 mh 0.3 a, radi ? 42 v15 l1 2x10 mh 0.25 a, tdk uf1717v-103yr25-02 20 1 l2 220 h series bc, siemens matsushita b781.8-s1224-j 21 1 l3 10 h series bc, siemens matsushita b781.8-s1103-k 22 1 l5 1mh series lbc, siemens matsushita b82144-a2105-j 23 1 r1 15 ? , 3 w metal film 24 1 r2 2.2 k ? smd 25 1 r3 22 ?
demonstration board for st7538q AN1714 34/46 r4 26 1 r_l6 10 ? 27 1 r5 3320 ? 28 1 r7 910 ? 29 1 tr1 0.7mh, radiohm 69e16h.1b tr1 0.7mh, tdk srw16es-exxh004 30 1 u1 l6590 table 4. powerline modem section item n name descriptions 1 1 cn3 header 2 2 1 cn4 header 7 3 1 c11 33 nf 220 v/x2 (1) , evox rifa, phe840eb5330mr17 4 1 c13 220 nf mkt (1) , epcos b32529-c1224-k 5 2 c14 10 f tant smd, avx, tpsw106*016#0600 c30 10 f tant smd 6 1 c38 10 f tant smd, vishay, 293d106x_035d2_ 7 4 c15 100 nf smd c16 100 nf smd c20 100 nf smd c21 100 nf smd 8 1 c17 6.8 nf, arcotronix, r82ec1680aa5j 9 1 c18 47 pf smd 10 1 c19 18 pf smd 11 1 c33 10 nf ceramic 12 1 c36 4.7 nf mkp 5% (1) , evox rifa, pfr5-472j63l4 13 1 c37 100 pf smd 14 1 c_r9 100 nf mkt (1) , epcos, b32520-c3104-k d8 d14 15 2 d15 p6ke6v8a d16 p6ke6v8a 16 1 d17 sm6t6v8a 17 3 j2 jumper closed j3 jumper closed table 3. power supply sections (continued) item n name descriptions
AN1714 demonstration board for st7538q 35/46 j7 jumper closed 18 1 j6 con3 19 1 l_c12 10 h lbc inductor (1) , siemens matsushita b82144-a2103-k 20 1 l4 22 h 10% series lbc (1) , siemens matsushita b82144-a2223-k 21 1 l7 330 h 5% series bc (1) , siemens matsushita b781.8-s1334-j 22 1 l8 10 h smd 23 1 r8 4.7 m ? 24 1 r10 5 ? , 1/4 watt 25 1 r11 750 ? 26 1 r12 50 k ? trim 27 1 r13 5 k ? trim 28 1 r14 1 k ? 29 1 t1 vacuumschmelze t60403-f4096-x046, 1.7 mh, 1:1 transformer t1 tdk trtt10u-e015a012, 2 mh, 1:1 transformer t1 secre t15253, 1.3 mh, 1:1 transformer t1 etal p2824, 1.2 mh, 1:1 transformer t1 radiohm 63v192100, 2 mh, 2:1 transformer 30 1 u2 st7538q (tqf p44 cti7010 ? 044) 31 1 x1 16 m, quartz crystal, q 16.0-ss3-30-30/30-fu-t1 1. values for 132.5khz communication channel table 5. st7/rs232 section item n name descriptions 1 1 cn5 rs232 female 9 pin 2 1 cn6 con12 3 1 cn7 isp interface 4 9 c23 100 nf smd c24 100 nf smd c25 100 nf smd c26 100 nf smd c27 100 nf smd c28 100 nf smd c29 100 nf smd c31 100 nf smd c32 100 nf smd table 4. powerline modem section (continued) item n name descriptions
demonstration board for st7538q AN1714 36/46 5 1 c22 22 nf smd 61d12 led green 7 2 d9 led red d11 led red 81d10 led yellow 9 1 d13 1n4148 smd 10 5 jl1 jumper open j8 jumper closed j9 jumper closed j10 jumper closed j11 jumper closed 11 1 rn1 r_strip 1 k ? 4resis 12 1 r15 4.7 k ? smd 13 1 r16 47 k ? smd 14 1 r17 10 k ? 15 1 sw1 sw pushbutton 16 1 u3 st232b 17 1 u4 st72c334j4 tqfp44 smt table 5. st7/rs232 section (continued) item n name descriptions
AN1714 demonstration board characterization 37/46 3 demonstration board characterization this chapter includes a series of tests and measurements to characterize the demonstration board. the characterization concerns the most critical aspects required by european standards which are: 1. electro-conducted disturbances 2. immunity to narrowband conducted noise 3. output impedance measurement the results of these measures show a good ma tch and a very close value to the measures done according to the en50065-1, en50065-2-1 and en50065-7 setup and procedures. 3.1 conducted disturbance the en50065-1 standard describes the test setup and procedures for these kinds of tests. the measures have been done with 220 v~ and 110 v~ mains voltages. the test pattern consists of a continuous transmission of a fixed tone (symbol "0") or a repetition of random bytes. the output signal has a peak value of 118dbuv (output cispr-16 measure of the not modulated signal) that means a 1.6v rms of signal on the mains. the spectrum analyzer performs a peak measure instead of a quasi-peak measure. for continuous sinusoidal signals the two types of measures give the same result. figure 29. conducted disturbance setup as shown by the spectrum plots the point that is usually the closest to the mask is the 2 nd harmonic. the borderline condition is obtained with the 110 v~ mains supply and with the 110 khz channel. in the 110 khz channel case the output board filter centered at the 132.5 khz channel produces lower attenuation of the harmonic. the other critical condition is with the 110 v~ supply. in this case the switching regulator gives a lower supply voltage. the effect is to compress the top of the output sinusoidal
demonstration board characterization AN1714 38/46 signal producing higher odd harmonics. the diff erence is some hundreds of microvolts but considering the strong constraints of the norm they are relevant. figure 30. output signal spectrum, channel 132.5 khz, mains 220 v~, fixed tone figure 31. output signal spectrum, ch annel 132.5 khz, mains 220 v~, random sequence ch 132.5 khz, baud 2400, dev 0,5 continuos transmission - fix tone "0" 20.0 30.0 40.0 50.0 60.0 70.0 80.0 90.0 100.0 110.0 120.0 10000 100000 1000000 10000000 100000000 dbuv en50065-1 10khz -> 150khz (bw = 100hz) 150khz -> 30mhz (bw=10khz) 2 nd harmonic 54.3db v 3 rd harmonic 47.9db v ch 132.5 khz, baud 2400, dev 0,5 continuos transmission - random sequences 20.0 30.0 40.0 50.0 60.0 70.0 80.0 90.0 100.0 110.0 120.0 10000 100000 1000000 10000000 100000000 dbuv en50065-1 10khz -> 150khz (bw = 100hz) 150khz -> 30mhz (bw =10khz) 2 nd harmonic 54.3db v 3 rd harmonic 47.8db v
AN1714 demonstration board characterization 39/46 figure 32. output signal spectrum, ch annel 132.5 khz, mains 110 v~, random sequence figure 33. output signal spectrum, ch annel 110 khz, mains 220 v~, random sequence 3.2 narrowband conducted interference the setup of the narrowband conducted interferences test consists of a first transmitting demonstration board controlled by a ber (bit error rate) tester that generates a random bit stream. the second board demodulates the received signal that is evaluated by the linked ber tester. the noise is produced by a waveform generator and injected into the artificial network by a coupling circuit connected to a low distortion power amplifier (en50065-2-1, 7.2.3). two types of signal noises have been used for the test: a pure sinusoidal signal and an amplitude-modulated signal, (modulating signal 1 khz, modulation deep 80%). the amplitude of the noise signal is decreased until the ber measured is lower than 10 -3 (one error every 1000 transmitted bits). the noise measure is done disconnecting the sign al source and the coupling circuits from the artificial network. ch 132.5 khz, baud 2400, dev 0,5 - mains 110v~ continuos transmission - random sequences 20.0 30.0 40.0 50.0 60.0 70.0 80.0 90.0 100.0 110.0 120.0 10000 100000 1000000 10000000 100000000 dbuv en50065-1 10khz -> 150khz (bw = 100hz) 150khz -> 30mhz (bw =10khz) 2 nd harmonic 54.0db v 3 rd harmonic 47.2db v ch 110 khz, baud 2400, dev 0,5 continuos transmission - random sequences 20.0 30.0 40.0 50.0 60.0 70.0 80.0 90.0 100.0 110.0 120.0 10000 100000 1000000 10000000 100000000 dbuv en50065-1 10khz -> 150khz (bw = 100hz) 150khz -> 30mhz (bw=10khz) 2 nd harmonic 54.0db v 3 rd harmonic 47.2db v
demonstration board characterization AN1714 40/46 figure 34. narrowband conducted interferences setup the following are different measurements with a transmitted signal of 79dbuv measured at the cispr-16 output (minus 6db versus mains). a measure of the 110 khz channel (signal level 85dbuv) is also present even if the receiving filter of the board is tuned on the 132.5 khz channel. the power amplifier used represents a limit for the measure with respect to the maximum noise voltage level. in fact for the noise tones far from the channel frequency, the ber obtained is zero and the power amplifier isn' t able to produce a higher sinusoidal noise. figure 35. signal/noise ratio for the 132.5 khz channel, signal level 85 dbuv ch 132.5khz, baud 2400, dev 0.5 s = 85 dbuv, ber < 10e-3 - mains 220v~ -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15 80 90 100 110 120 130 140 150 160 170 180 190 200 freq[khz] s/n fix tone am 1khz - 80%
AN1714 demonstration board characterization 41/46 figure 36. signal/noise ratio for the 132.5 khz channel, signal level 85 dbuv, mains 110 v~ figure 37. signal/noise ratio for the 110 khz channel, signal level 91 dbuv 3.3 output impedance the last characterization report concerns the output impedances of the application. in order to not degrade the communication network it is mandatory to guarantee a minimum value of the output impedance of each component of the system, both in the receiving and transmitting condition. in this last case impedance constraints concern only the frequency ranges of the other communication bands. ch 132.5khz, baud 2400, dev 0.5 s = 85 dbuv, ber < 10e-3 - mains 110v~ -50 -45 -40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15 80 90 100 110 120 130 140 150 160 170 180 190 200 freq[khz] s/n fix tone am 1khz - 80% ch 110khz, baud 2400, dev 0.5 s = 91 dbuv, ber < 10e-3 - mains 220v~ -45 -40 -35 -30 -25 -20 -15 -10 -5 0 5 10 15 20 80 90 100 110 120 130 140 150 160 170 180 freq[khz] s/n fix tone am 1khz - 80%
demonstration board characterization AN1714 42/46 figure 38. output board impedance measurement setup the reference standard is the en50065-7. to si mplify the measurement, the supply of the board is obtained by a low 10 v external power supply and the impedance meter has been connected directly to the mains connector. figure 39 and 40 show the normative mask for the home appliance band (95 khz - 148.5 khz). figure 39. output demonstration board impedances (cn1) in receiving condition figure 40. output demonstration board impedances (cn1) in transmitting condition receiving condition 1 10 100 1000 10 30 50 70 90 110 130 150 khz ohm en50065-7 z_rx transmitting condition 1 10 100 1000 10 30 50 70 90 110 130 150 khz ohm en50065-7 z_tx
AN1714 design ideas for auxiliary blocks 43/46 4 design ideas for auxiliary blocks 4.1 zero-crossing detector it is possible to synchronize the beginning of the transmission with the mains voltage (phase 0). to implement this function the zero-cross ing comparator has to be used and a reduced reproduction of the mains frequency (with the same phase) has to be present on the zcin pin (#16). the maximum voltage of this pin is 5 v. in case of a nonisolated application the circuit consists of a simple re sistor divider. for an isolated system a possible solution could be a mains transformer. this solution is more expensive and is suggested only if such a mains transformer is also used in the application for another purpose. it is possible to implement another isolated solution using for example an optocoupler component also. in both cases a bidirectional transil has to protect the pin from the burst and surge and a capacitor have to be added to filter high frequency noise. figure 41. zero-crossing coupling circuit, nonisolated solutions figure 42. zero-crossing coupling circuit, isolated solutions 10 m ? zcin tx sync 16 25 st7538 15 zcout 100 k ? p n mains 10 m ? zcin tx sync 16 25 st7538 15 zcout 100 k ? p n mains q 100 k ? zcin tx sync 16 25 st7538 15 zcout 100 k ? mains 50 1 100 k ? zcin tx sync 16 25 st7538 15 zcout 100 k ? mains 50 1 q
documentation AN1714 44/46 appendix a documentation 4.2 st7538q st7538q datasheet demonstration board user manual ehs booklet 4.3 l6590 integrated power supply l6590 datasheet application note an1261 application note an1262 application note an1523 4.4 st7 microprocessor st72 series datasheet 4.5 surge and burst protections protection guide application note an317 application note an576
AN1714 references 45/46 5 references 1. sgs-thomson - power line modem & applications data book - september 1994 2. cenelec, european committee for electrot echnical standardization - en 50065-1, signaling on low-voltage electrical installations in the frequency range 3 khz to 148,5 khz. part 1: general requirements, frequency bands and electromagnetic disturbances - july 2001 3. cenelec, european committee for electrot echnical standardization - en 50065-4-2, signaling on low-voltage electrical installations in the frequency range 3 khz to 148,5 khz. part 4-2: low voltage decoupling filters- safety requirements - august 2001 4. cenelec, european committee for electrot echnical standardization - en 50065-7, signaling on low-voltage electrical installations in the frequency range 3 khz to 148,5 khz. part 7: equipment impedance - november 2001 5. cenelec, european committee for electrot echnical standardization - pren 50065-2- 1, signaling on low-voltage electrical installations in the frequency range 3 khz to 148,5 khz. part 2-1: immunity requirements for mains communications equipment and systems operating in the range of frequencies 95 khz to 148,5 khz and intended for use in residential, commercial and light industrial environments - 1999 6. iec, international electrotechnical comm ission, international special committee on radio interferences - cispr 16-1, specification for radio disturbance and immunity measuring apparatus and methods. part 1: radio disturbance and immunity measuring apparatus - first edition, august 1993 7. ehsa, european home system association - ehs specifications, version 1.3a - may 2001. 6 revision history table 6. document revision history date revision changes 21-jun-2006 3 minor text changes 27-feb-2008 4 ? section 1.2 added ? section 2.4 modified ? st7538 replaced by st7538q ? content reworked to improve readability, no content changes
AN1714 46/46 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2008 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of AN1714

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X